package com.example.starbuzz.pojo;

import com.example.starbuzz.R;

public class Drink {
    private String name;
    private String Description;
    private int imageResourceID;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public int getImageResourceID() {
        return imageResourceID;
    }

    public void setImageResourceID(int imageResourceID) {
        this.imageResourceID = imageResourceID;
    }

    private Drink(String name, String description, int imageResourceID) {
        this.name = name;
        Description = description;
        this.imageResourceID = imageResourceID;
    }

    @Override
    public String toString() {
        return this.name;
    }

    public static final Drink[] drinks = {
            new Drink("Latte", "心型", R.drawable.heart),
            new Drink("Cappuccino","黑咖啡",R.drawable.coffice),
            new Drink("Filter","我记得是个麦子",R.drawable.wheat)
    };
}
